package com.zhuiyi.yiqingbackend.domain;

import com.zhuiyi.yiqingbackend.domain.request.AddTouchRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Touch implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private int baseId;
    private String comeFrom;
    private String isoAddress;
    private Date startDate;
    private String finished;
    private String desc1;


    public Touch(int baseId, String resource, String address, Date time, String desc) {
        this.baseId=baseId;
        this.comeFrom=resource;
        this.isoAddress=address;
        this.startDate=time;
        this.desc1=desc;
    }



}
